package com.xgy.userauthsystem.exception;

/**
 * 用户名已存在异常
 * 在用户注册时，如果用户名已存在，抛出该异常
 */
public class UsernameAlreadyExistsException extends RuntimeException {

    public UsernameAlreadyExistsException(String message) {
        super(message);
    }

    public UsernameAlreadyExistsException(String message, Throwable cause) {
        super(message, cause);
    }
}
